// 设置
class Setting {
  static String sDeviceId = 'deviceId';
  static String sConversationId = 'conversationId';

  final String name;
  final String val;

  const Setting({required this.name, required this.val});

  Map<String, Object?> toMap() {
    return {
      'name': name,
      'val': val,
    };
  }

  @override
  String toString() {
    return 'Setting{name: $name, val: $val}';
  }
}